package com.cdy.jxc_project.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.cdy.jxc_project.domain.TGoodsUnit;
import com.cdy.jxc_project.domain.vo.TGoodsUnitVo;

import java.util.List;

/*
 * @Project:jxc_project
 * @Author:cdy(缘生)
 * @Motto:放下杂念,只为迎接明天更好的自己
 * @Date:2023/4/18 11:16
 * */
public interface TGoodsUnitService extends IService<TGoodsUnit> {

     List<TGoodsUnit> list();

     boolean deleteTGoodsUnit(Integer id);

     //查询分页数据
     List<TGoodsUnit> pagingQuery(TGoodsUnitVo tGoodsUnitVo);

     //总条数
     int querySize(TGoodsUnitVo tGoodsUnitVo);

     int insertTGoodsUnit(TGoodsUnit tGoodsUnit);

     int updateTGoodsUnit(TGoodsUnit tGoodsUnit);
}
